

//
//  ZYField.m
//  SenMo
//
//  Created by ZengYuan on 16/1/24.
//  Copyright © 2016年 ZengYuan. All rights reserved.
//

#import "ZYField.h"
#import "Config.h"

@implementation ZYField

-(void)layoutSubviews{
    [super layoutSubviews];
    self.backgroundColor = [UIColor whiteColor];
    self.layer.borderColor = NAV_COLOR.CGColor;
    self.layer.borderWidth = 1;
    self.layer.cornerRadius= 3;
    self.textColor = [UIColor blackColor];
    
    self.clearButtonMode = UITextFieldViewModeWhileEditing;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
